Groundhogg\Admin\Settings\Settings_Page C

Total Complexity 113
Dependencies 10
Dependents 2
Total lines 1,984
Lines of code 1,681
Logical lines of code 221
Comment lines 141
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
get_default_settings()
D
7
10 1,021
settings_callback()
B
42 18 46
get_default_sections()
A
29
6 188
page()
A
45 7 47
show_extensions()
S
50 5 33
register_sections()
S
56 6 16
get_default_tabs()
S
47 4 40
view()
S
49 4 33
register_settings()
S
52 4 25
process_create_api_key()
S
58 4 15
user_can_access_tab()
S
63 4 11
add_section()
S
62 4 11
api_keys_table()
S
43 1 55
process_reissue_api_key()
S
62 3 11
add_setting()
S
56 2 19
add_tab()
S
64 3 10
process_view()
S
66 3 8
scripts()
S
61 2 12
process_revoke_api_key()
S
63 2 10
process_deactivate_license()
S
72 2 5
process_check_license()
S
71 2 6
tab_has_settings()
S
68 2 7
screen_options()
S
91 1 2
__construct()
S
78 1 4
tab_has_sections()
S
72 1 5
add_additional_actions()
S
68 1 7
active_tab()
S
79 1 3
get_title()
S
78 1 3
get_slug()
S
82 1 3
get_name()
S
79 1 3
init_defaults()
S
70 1 6
get_cap()
S
82 1 3
get_item_type()
S
82 1 3
get_priority()
S
82 1 3
help()
S
91 1 2
get_title_actions()
S
82 1 3
add_ajax_actions()
S
91 1 2